ps -ef | grep fruit-0.0.1-SNAPSHOT | grep -v grep| awk '{print $2}' |xargs kill -s 9
echo 'restart...'
sleep 3
nohup java  -jar  -Dspring.config.location=application.properties  fruit-0.0.1-SNAPSHOT.jar   >server.log &
echo 'end'
tail -f server.log
